Release 10.1A: OpenEdge Getting Started:
Database Essentials
CPU activity
All resources affect CPU activity. As a database or system administrator, there are only a few things you can do to more efficiently use the CPU resources of your machine. The major consumer of CPU resources for your system should be the application code. Therefore, the greatest impact on CPU consumption can be made with application changes. Other resources are affected by application code as well, but there are things that you can do as an administrator to minimize problems associated with other resources. This is not the case with CPU resources. Slow disks can increase CPU activity by increasing the waits on I/O. If there is significant context switching, system delay time will increases. CPU activity is divided into four categories:
- User time — The amount of time spent performing user tasks. This is the main component that you paid for when you bought the CPU capacity for the system.
- System time — The amount of time devoted to system overhead like paging, context switches, scheduling, and various other system tasks. You can never completely eliminate this overhead, but you can keep it to a minimum.
- Wait on I/O time — The amount of time the CPU is waiting for another resource (such as disk I/O).
- Idle time — The amount of unallocated time for the CPU. If there are no jobs in the process queue and the CPU is not waiting for a response from some other resource, then the time is logged as idle. On some systems, wait on I/O is logged as idle. This is because the CPU is idle and waiting for a response. However, this time does not accurately reflect the state of performance on the system.
In Windows, CPU activity is divided into the following categories:
- User time — The amount of time spent doing user tasks.
- Privileged time — The amount of time devoted to system overhead like paging, context switches, scheduling, and various other system tasks.
- Idle time — The amount of unallocated time for the CPU. Note that Windows does not track wait on I/O time. In Windows, wait time is logged as idle time.
- Processor time — An accumulation of other processor metrics. You can think of 100 – processor time = idle time.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |